<?php
namespace app\admin\controller;

use app\admin\controller\Base;

class Index extends Base
{



    public function index()

    {
//        return json([
//           'ses'=>Session::get('user_id')
//        ]);
        $this->assign([
            'title'=>'易腾网络',
            'name'  => 'ThinkPHP',
            'email' => 'thinkphp@qq.com'
        ]);

        return $this->fetch();
    }









    public function auth()
    {
        $this->assign([
            'title'=>'易腾网络',
            'name'  => 'ThinkPHP',
            'email' => 'thinkphp@qq.com'
        ]);

        return $this->fetch('auth');
    }

}
